package com.soft.javase.day01.practice;

/**
 * @author yzg
 * @desc TODO
 * @date 2025/4/15
 */
public class Test {
    public static void main(String[] args) {
        System.out.println("----------------用户账户----------------");

        BankAccount account = new BankAccount(6216602040259793456L, "李华", "341181199901013456", "15510899324", "23456@qq.com");
        System.out.println("账户ID："+account.getAccountId());
        System.out.println("户主姓名："+account.getUserName());
        System.out.println("户主身份证号："+account.getUserId());
        System.out.println("户主电话："+account.getUserPhone());
        System.out.println("户主邮箱："+account.getUserEmail());

        System.out.println();

        System.out.println("----------------皇帝----------------");

        Emperor emperor = new Emperor("小明", "1820.10.10~1860.01.01", "提高经济", "受人爱戴");
        emperor.show();

        System.out.println();
        System.out.println("----------------学生----------------");

        Student student = new Student("李四", 18, "男");
        student.show();
        student.study();

        System.out.println();
        System.out.println("----------------成绩计算----------------");

        GradeCalculate grade1 = new GradeCalculate();
        grade1.setJavaGrade(98.0F);
        grade1.setcSharpGrade(80.0F);
        grade1.setDataBaseGrade(90.0F);
        grade1.average();
        grade1.sum();

        GradeCalculate grade2 = new GradeCalculate(92.0F, 82.0F, 88.0F);
        grade2.average();
        grade2.sum();

    }
}

